package edu.sctu.practice.class02.hujie.cgs.practice02.test19;

/**
 * Created by hj on 2015/10/27.
 */
//椭圆继承圆
public class Ellipse extends Round {
    public static void main(String[] args) {
        Round ellipse = new Round();//孙子类咋办？？
        ellipse.absoluteSymmetry = false;
        ellipse.number = 1;
        System.out.println("它的边数为：" + ellipse.number);
        System.out.println("它的维数为：" + ellipse.dimension);
        System.out.println("它是否绝对对称：" + ellipse.absoluteSymmetry);

    }
}
